-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor GUI
class
#451
Closed
Closed
Refactor GUI
class
#451
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 1269d64 Merge: 65d833f aa0ccd5 Author: Raruto <[email protected]> Date: Fri Jul 14 10:52:46 2023 +0200 Merge branch 'dev' into refactor-inputs-and-fields commit 65d833f Merge: e92bc42 c03d8ad Author: Raruto <[email protected]> Date: Thu Jul 13 13:24:26 2023 +0200 Merge branch 'dev' into refactor-inputs-and-fields commit e92bc42 Author: Raruto <[email protected]> Date: Thu Jul 13 12:41:08 2023 +0200 Update Relation.vue commit b538b10 Author: Raruto <[email protected]> Date: Wed Jul 12 15:59:41 2023 +0200 vue warnings commit 85bf5e8 Author: Raruto <[email protected]> Date: Wed Jul 12 08:52:01 2023 +0200 code format commit f1c9f4e Author: Raruto <[email protected]> Date: Wed Jul 12 08:51:46 2023 +0200 update global resize components commit 2efd115 Author: Raruto <[email protected]> Date: Tue Jul 11 12:53:53 2023 +0200 remove class inheritance: `picklayer` commit 945d2bf Author: Raruto <[email protected]> Date: Tue Jul 11 11:32:59 2023 +0200 update `g3w-resize` related components commit cd0da23 Author: Raruto <[email protected]> Date: Mon Jul 10 09:51:41 2023 +0200 extra comma commit 2f4ca94 Author: Raruto <[email protected]> Date: Mon Jul 10 09:47:38 2023 +0200 Update form-inputs.js commit f835618 Author: Raruto <[email protected]> Date: Mon Jul 10 09:04:57 2023 +0200 refactor and delete folder `src/app/gui/fields/` commit e5e7dc6 Author: Raruto <[email protected]> Date: Fri Jul 7 08:57:00 2023 +0200 comments commit 6b727da Author: Raruto <[email protected]> Date: Fri Jul 7 08:53:23 2023 +0200 new factory method: `mixins/g3w-input::createInputService(type, options)` commit dcc1101 Author: Raruto <[email protected]> Date: Fri Jul 7 08:21:32 2023 +0200 spacing commit 4455749 Author: Raruto <[email protected]> Date: Fri Jul 7 08:18:16 2023 +0200 spacing commit 5b7838c Author: Raruto <[email protected]> Date: Fri Jul 7 08:16:49 2023 +0200 rename file: `mixins/base-inputs.js` --> `mixins/g3w-input.js` commit 3630da9 Author: Raruto <[email protected]> Date: Thu Jul 6 16:25:06 2023 +0200 template string commit 5d75dcb Author: Raruto <[email protected]> Date: Thu Jul 6 15:59:49 2023 +0200 remove `src/app/gui/inputs.js` commit 9964fa7 Author: Raruto <[email protected]> Date: Wed Jul 5 12:53:21 2023 +0200 Update gulpfile.js commit d75b466 Author: Raruto <[email protected]> Date: Wed Jul 5 12:52:51 2023 +0200 add `console.assert` commit 3086d72 Author: Raruto <[email protected]> Date: Wed Jul 5 12:10:39 2023 +0200 spacing commit 4e3596a Author: Raruto <[email protected]> Date: Wed Jul 5 11:50:11 2023 +0200 remove parenthesis commit 3668cb4 Merge: 442bb9d fac0148 Author: Raruto <[email protected]> Date: Wed Jul 5 11:45:12 2023 +0200 Merge branch 'dev' into refactor-inputs commit 442bb9d Author: Raruto <[email protected]> Date: Wed Jul 5 11:44:38 2023 +0200 delete folder: `src/app/gui/inputs/` starts consolidating all files into a single file: `src/app/gui/inputs.js`
Raruto
changed the title
Refactor
Refactor Apr 23, 2024
GUI
and G3WObject
classesGUI
~and G3WObject
~ classes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on: #450 👉 f14f455
List of changes
consolidate all gui code within
services/gui.js
src/index.prod.js::ApplicationTemplate
src/services/gui.js::GUI
src/app/core/g3wobject.js::G3WObject
add several test assertions:
console.assert
add internal utility function:
src/app/core/g3wobject.js::defineClassFields
(bringsthis.setters = {...}
support to parent constructor for ES6 classes)start refactoring some (simpler) files in order to make use of native JS classes:
src/app/core/g3wobject.js
(G3WObject)src/app/core/data/service.js
(BaseService)src/app/core/editing/history.js
(History)src/app/core/editing/session.js
(Session)src/app/core/iframe/services/plugins/service.js
(BasePluginService)src/app/core/layers/layersstoresregistry.js
(LayersStoresRegistry)src/services/api.js
(ApiService)src/services/clipboard.js
(ClipboardService)src/services/data-expression.js
(ExpressionService)src/services/data-ows.js
(OWSService)src/services/data-proxy.js
(ProxyService)src/services/data-query.js
(QueryService)src/services/data-search.js
(SearchService)src/services/data.js
(DataService)src/services/editing.js
(ChangesManager)src/services/floatbar.js
(FloatbarService)src/services/gui.js
(GUI)src/services/iframe-app.js
(AppService)src/services/iframe-editing.js
(EditingService)src/services/iframe-plugin.js
(IframePluginService)src/services/navbaritems.js
(navbaritemsService)src/services/querybuilder.js
(QueryBuilderService)src/services/relations.js
(RelationsService)src/services/sidebar.js
(SidebarService)src/services/tasks.js
(TaskService)src/services/viewport.js
(ViewportService)src/services/workflows.js
(WorkFlowsStack)src/store/catalog-layers.js
(CatalogLayersStoresRegistry)src/store/components.js
(ComponentsRegistry)src/store/map-controls.js
(ControlsRegistry)src/store/map-layers.js
(MapLayersStoresRegistry)src/store/plugins.js
(PluginsRegistry)src/store/projects.js
(ProjectsRegistry)src/store/sessions.js
(SessionsRegistry)remove unusued files
src/app/core/applicationservice.js
src/app/core/map/mapsregistry.js
src/app/core/project/projecttypes.js
Related to: #193 and #291